package org.zky.modules.customer.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.zky.modules.customer.domain.ZkyUserTab;

/**
* @author chenglong
* @date 2020-03-23
*/
public interface ZkyUserTabRepository extends JpaRepository<ZkyUserTab, Long>, JpaSpecificationExecutor<ZkyUserTab> {
    /**
    * 根据 UserName 查询
    * @param user_name /
    * @return /
    */
    ZkyUserTab findByUserName(String user_name);
    /**
    * 根据 MobileNo 查询
    * @param mobile_no /
    * @return /
    */
    ZkyUserTab findByMobileNo(String mobile_no);
}